package com.scau402.system1.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.scau402.common.annotation.Excel;
import com.scau402.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 翡翠种类PO
 * @author
 * @create 2024/1/4 18:06
 * @description
 */
@Data
@EqualsAndHashCode
@ToString(callSuper = true)
@TableName("wms_jade_type")
public class WmsJadeTypePO extends BaseEntity {

    /** id */
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "id")
    private Long id;

    /** 父翡翠品类id */
    @TableField("parent_id")
    @Excel(name = "父翡翠品类id")
    private Long parentId;

    /** 翡翠品类编码 */
    @TableField("jade_type_code")
    @Excel(name = "翡翠品类编码")
    private String jadeTypeCode;

    /** 翡翠品类名称 */
    @TableField("jade_type_name")
    @Excel(name = "翡翠品类名称")
    private String jadeTypeName;

    /** 显示顺序 */
    @TableField("order_num")
    @Excel(name = "显示顺序")
    private Long orderNum;

    /** 状态（0启用 1停用） */
    @TableField("status")
    @Excel(name = "状态", readConverterExp = "0=启用,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    @TableField("del_flag")
    private String delFlag;

    /** 租户ID */
    @TableField("tenant_id")
    @Excel(name = "租户ID")
    private Long tenantId;

    /** 部门ID */
    @TableField("dept_id")
    @Excel(name = "部门ID")
    private Long deptId;

}
